package com.zmx.common.common.config.feign;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: Fegin注册ioc实例
 * @ClassName: FeignConfiguration
 * @Author zhaomxr
 * @Date 2022-01-18 09:58
 */
@Configuration
public class FeignConfiguration {

    @Bean
    public InvocationInfoFeignClientInterceptor invocationInfoFeignClientInterceptor() {
        return new InvocationInfoFeignClientInterceptor();
    }

    @Bean
    public InvocationInfoFilter invocationInfoFilter() {
        return new InvocationInfoFilter();
    }
}
